package com.example.demo.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.VO.CartVO;
import com.example.demo.bean.Cart;
import com.example.demo.bean.User;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author 京平笙
 * @since 2021-12-06
 */
public interface ICartService extends IService<Cart> {
//demo一
//	 List<CartVO> showUserCart(Integer uid);

    IPage<CartVO> showUserCart(Page<CartVO> voPage, QueryWrapper<CartVO> listQueryWrapper);
}
